package com.chencai.wiki.database.googleapp;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class TableLabelToPage 
{
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;

	@Persistent
	private Integer pageId;
	
	@Persistent
	private Integer labelId;
	
	public TableLabelToPage(int pageId, int labelId)
	{
		this.pageId = new Integer(pageId);
		this.labelId = new Integer(labelId);
	}
	
	
}
